<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  <nav>
        <RouterLink to="/departmentadd">科室增加</RouterLink>
        <RouterLink to="/departmentlist">科室列表</RouterLink>
        <RouterLink to="/uselist">用药列表</RouterLink>
        <RouterLink to="/useupdate">用药修改</RouterLink>
      </nav>

  <RouterView />
</template>

<style scoped>
a{
  margin: 0 10px;
}
</style>
